package MyArrayList.myInterface;


 public interface MyList {


    int size();


     Object get(int index);


     boolean isEmpty();


     boolean contains(Object element);


     void add(Object element);


     void remove(Object element);


     void remove(int index);


     void add(int index, Object element);


     int indexOf(Object elemente);

     void addBefore(Object obj, Object element);


     void addAfter(Object obj, Object element);


     Object replace(int index, Object element);


}